/*
 * @Author: HeAo
 * @Date: 2021-09-24 16:16:40
 * @LastEditTime: 2021-09-24 17:27:46
 * @LastEditors: HeAo
 * @Description:
 * @FilePath: \web2103-2105\web2105\3-1-ES6\day01\src\index.js
 * 别乱动！
 */
// console.log('index~~~~~~');
// 模块导入
import { a, myFun, obj, first as f, last as l } from './modules/a.js'
console.log(obj.age);
myFun()
console.log(obj.age);

// myFun()
// setTimeout(() => {
//   console.log('index2', a);
// }, 1000)

// 导入默认模块
import obj1 from './modules/a.js'
// 导入全部
import * as obj2 from './modules/a.js'

// console.log(a, myFun);
// myFun()
// console.log(f + l);
// console.log(obj);
// console.log(obj2);

// 加载模块
// import './modules/a.js'
